#ifndef TMLOG_H
#define TMLOG_H

#include <QObject>
#include <QtCore>

class TmLog : public QObject
{
    Q_OBJECT
public:
    TmLog();
    ~TmLog();

    void log(char cType, QString strLog);
    void log_I(QString strLog);
    void log_D(QString strLog);
    void log_W(QString strLog);
    void log_E(QString strLog);
private:
    QFile* m_pLogFile;
};

#endif // TMLOG_H
